package com.baizhi.wd.entity;
import java.io.Serializable;
import java.util.Date;

public class Person implements Serializable{
	 
	private Integer id;
	private String name;
	private String mobile;
	private String telphone;
	private String email;
	private String city;
	//sqlDate-->unitDatr
	private Date  birthday ;
	//�޲�
	public Person() {super();}
	//�в�
	public Person(Integer id, String name, String mobile, String telphone,
			String email, String city, Date birthday) {
		super();
		this.id = id;
		this.name = name;
		this.mobile = mobile;
		this.telphone = telphone;
		this.email = email;
		this.city = city;
		this.birthday = birthday;
	}
	//get set
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getTelphone() {
		return telphone;
	}
	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	
	//toString
	@Override
	public String toString() {
		return "Person [id=" + id + ", name=" + name + ", mobile=" + mobile
				+ ", telphone=" + telphone + ", email=" + email + ", city="
				+ city + ", birthday=" + birthday + "]";
	}
	
}
